#!/usr/bin/env python
#
import sys
sys.path.append("..")

import config
import jpegops

if __name__=='__main__':
  if len(sys.argv) < 2:
	print "Usage: %s <jpg files>" % sys.argv[0]
  else:
	for file in sys.argv[1:]:
	  jpegops.rotate( file )
